import request from '@/utils/request'

// 查询签报申请列表
export function listOaApplication(query) {
  return request({
    url: '/application/oaApplication/list',
    method: 'get',
    params: query
  })
}

// 查询签报申请详细
export function getOaApplication(id) {
  return request({
    url: '/application/oaApplication/' + id,
    method: 'get'
  })
}

// 保存签报申请
export function saveOaApplication(data) {
  return request({
    url: '/application/oaApplication/save',
    method: 'post',
    data: data
  })
}

// 删除签报申请
export function delOaApplication(id) {
  return request({
    url: '/application/oaApplication/' + id,
    method: 'delete'
  })
}

// 导出签报申请
export function exportOaApplication(query) {
  return request({
    url: '/application/oaApplication/export',
    method: 'get',
    params: query
  })
}
